﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Flower_5
{
    class FormGerberas : AbstractFlower
    {
        private int _mid_width; //ширина серединки
        public double GetWidthMid()
        {
            return _mid_width;
        }
        public void midSet(int value)
        {
            _mid_width = value;
        }

    }

    class Gerbera : FormGerberas
    {
        private string _form_petals;
        public Gerbera(int mid, string pet, int st_l, double pr, string cl)
        {
            midSet(mid);
            _form_petals = pet;
            lengthSet(st_l);
            priceSet(pr);
            colorSet(cl);
        }
        public string GetWidthMid()
        {
            return _form_petals;
        }
    }
}
